package cn.com.xljk.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.util.Date;


/**
 * 量自身信息对象 gauge
 * 
 * @author rz
 * @date 2021-09-08
 */
public class Gauge
{
    private static final long serialVersionUID = 1L;

    /** 量表id */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 乐观锁 */
    private Long revision;

    /** 逻辑删除标志 */
    private Integer delFlag;

    /** 创建人 */
    private String createdBy;

    /** 创建时间 */
    @TableField(fill = FieldFill.INSERT,value = "created_time")
    private Date createdTime;

    /** 更新人 */
    private String updatedBy;

    /** 更新时间 */
    @TableField(fill = FieldFill.INSERT_UPDATE,value = "updated_time")
    private Date updatedTime;

    /** 量表名称 */
    private String name;

    /** 量表编码 */
    private String code;

    /** 简介 */
    private String introduce;

    /** 量表版本 */
    private String version;

    /** 量表介绍图片 */
    private String imgUrl;

    /** 量表计分类型 [1.简单量表，2.复杂量表，3.跳转量表]，详见字典表 */
    private String gaugeCalculateType;

    /** 结束语，即题目结束后出现的话 */
    private String peroration;

    /** 是否以乱序的形式出题 */
    private Integer isDisorder;

    /** 是否含有[跳转题] */
    private Integer isHadJump;

    /** 量表类型 */
    private String type;

    /** 适用人群 */
    private String people;

    /** 量表身份 */
    private String identity;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRevision(Long revision) 
    {
        this.revision = revision;
    }

    public Long getRevision() 
    {
        return revision;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setIntroduce(String introduce) 
    {
        this.introduce = introduce;
    }

    public String getIntroduce() 
    {
        return introduce;
    }
    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }
    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }
    public void setGaugeCalculateType(String gaugeCalculateType) 
    {
        this.gaugeCalculateType = gaugeCalculateType;
    }

    public String getGaugeCalculateType() 
    {
        return gaugeCalculateType;
    }
    public void setPeroration(String peroration) 
    {
        this.peroration = peroration;
    }

    public String getPeroration() 
    {
        return peroration;
    }
    public void setIsDisorder(Integer isDisorder) 
    {
        this.isDisorder = isDisorder;
    }

    public Integer getIsDisorder() 
    {
        return isDisorder;
    }
    public void setIsHadJump(Integer isHadJump) 
    {
        this.isHadJump = isHadJump;
    }

    public Integer getIsHadJump() 
    {
        return isHadJump;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getPeople() {
        return people;
    }

    public void setPeople(String people) {
        this.people = people;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    @Override
    public String toString() {
        return "Gauge{" +
                "id=" + id +
                ", revision=" + revision +
                ", delFlag=" + delFlag +
                ", createdBy='" + createdBy + '\'' +
                ", createdTime=" + createdTime +
                ", updatedBy='" + updatedBy + '\'' +
                ", updatedTime=" + updatedTime +
                ", name='" + name + '\'' +
                ", code='" + code + '\'' +
                ", introduce='" + introduce + '\'' +
                ", version='" + version + '\'' +
                ", imgUrl='" + imgUrl + '\'' +
                ", gaugeCalculateType='" + gaugeCalculateType + '\'' +
                ", peroration='" + peroration + '\'' +
                ", isDisorder=" + isDisorder +
                ", isHadJump=" + isHadJump +
                ", type='" + type + '\'' +
                ", people='" + people + '\'' +
                ", identity='" + identity + '\'' +
                '}';
    }
}
